Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Time Base Functions / Working With Time Base Values


GetTimeBaseEffectiveRate

The GetTimeBaseEffectiveRate function returns the effective rate at which the specified time base is moving, relative to its master clock.

pascal Fixed GetTimeBaseEffectiveRate (TimeBase tb);
tb
Specifies the time base for this operation. Your application obtains this time base identifier from the NewTimeBase function (described on page 2-297).
DESCRIPTION
The GetTimeBaseEffectiveRate function is useful when you need to make scheduling decisions based on the rate of a time base--for example, when you are writing a media handler. (For more on media handlers, see Inside Macintosh: QuickTime Components.) By calling GetTimeBaseEffectiveRate rather than the GetTimeBaseRate function (described in the previous section), you can easily take into account any time base subordination that may be in effect.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996